package com.atguigu.springcloud.mapper;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 19shusheng.com
 * @Description:
 * @Date: Created in 21:41 2020/10/19
 * @Modified By:
 */
/*
 *
 * @Description:
 *    可以使用@Repository 这是spring的注解使用之后插入有可能会有问题
 * @auther: madonghui
 * @date: 21:41 2020/10/19
 * @param:
 * @return:
 *
 */
@Mapper
public interface PaymentMapper {

    public int create(Payment payment);

    public Payment getPaymentById(@Param("id")Long id);
}
